package cn.net.susan.seckill.business.config;

import cn.net.susan.seckill.business.config.properties.OrderApiProperties;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 业务配置类
 *
 * @author 苏三，该项目是知识星球：java突击队 的内部项目
 * @date 2024/7/28 上午11:41
 */
@Data
@Component
@Slf4j
@ConfigurationProperties(prefix = "seckill")
public class BusinessConfig {

    /**
     * 订单API接口配置
     */
    private OrderApiProperties orderApiProperties = new OrderApiProperties();

}
